<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos  -->
			<title>File Source for tuto7.php</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
											</head>
		<body>
						<h1>Source for file tuto7.php</h1>
<p>Documentation is available at <a href="../DomBase/_libsPub---FPDF---tutorial---tuto7.php.html">tuto7.php</a></p>
<div class="src-code">
<div class="src-code"><ol><li><div class="src-line"><a name="a1"></a><span class="src-php">&lt;?php</span></div></li>
<li><div class="src-line"><a name="a2"></a><a href="http://www.php.net/define">define</a><span class="src-sym">(</span><span class="src-str">'FPDF_FONTPATH'</span><span class="src-sym">,</span><span class="src-str">'./'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a3"></a>require<span class="src-sym">(</span><span class="src-str">'../fpdf.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a4"></a>&nbsp;</div></li>
<li><div class="src-line"><a name="a5"></a><span class="src-var">$pdf</span>=<span class="src-key">new&nbsp;</span><span class="src-id"><a href="../DomBase/FPDF.html">FPDF</a></span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a6"></a><span class="src-var">$pdf</span><span class="src-sym">-&gt;</span><span class="src-id">AddFont</span><span class="src-sym">(</span><span class="src-str">'Calligrapher'</span><span class="src-sym">,</span><span class="src-str">''</span><span class="src-sym">,</span><span class="src-str">'calligra.php'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a7"></a><span class="src-var">$pdf</span><span class="src-sym">-&gt;</span><span class="src-id">AddPage</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a8"></a><span class="src-var">$pdf</span><span class="src-sym">-&gt;</span><span class="src-id">SetFont</span><span class="src-sym">(</span><span class="src-str">'Calligrapher'</span><span class="src-sym">,</span><span class="src-str">''</span><span class="src-sym">,</span><span class="src-num">35</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a9"></a><span class="src-var">$pdf</span><span class="src-sym">-&gt;</span><span class="src-id">Cell</span><span class="src-sym">(</span><span class="src-num">0</span><span class="src-sym">,</span><span class="src-num">10</span><span class="src-sym">,</span><span class="src-str">'Enjoy&nbsp;new&nbsp;fonts&nbsp;with&nbsp;FPDF!'</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a10"></a><span class="src-var">$pdf</span><span class="src-sym">-&gt;</span><span class="src-id">Output</span><span class="src-sym">(</span><span class="src-sym">)</span><span class="src-sym">;</span></div></li>
<li><div class="src-line"><a name="a11"></a><span class="src-php">?&gt;</span></div></li>
</ol></div>
</div>
	<p class="notes" id="credit">
		Documentation generated on Fri, 24 Sep 2010 21:15:33 +0000 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.1</a>
	</p>
	</body>
</html>